<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Index</title>
	<hdjs/>
</head>
<body>
<div class="wrap">
	<div class="menu_list">
		<ul>
		    <li><a href="{|U:'index'}"  class="action">分类列表</a></li>
		    <li><a href="{|U:'add'}">添加分类</a></li>
		</ul>
	</div> 
	<table class="table1">
		<tr>
			<td>CID</td>
			<td>问题类名</td>
			<td class="w200">操作</td>
		</tr>
	<list from='$data' name='$d'>
		<tr>
			<td>{$d.cid}</td>
			<td>{$d.catname}</td>
			<td class="w100">
				<a href="{|U:'edit',array('cid'=>$d['cid'])}">编辑</a> |
				<a href="{|U:'del',array('cid'=>$d['cid'])}">删除</a>
			</td>
		</tr>
	</list>
	</table>
</div>
</body>
</html>